package com.awccis.driver.model.car;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author: 纯牛奶丶
 * @Date: 2018-03-30 0030 上午 09:55
 * @Since: REDMI.txt.0
 * @Decription:
 **/
@Component
@Qualifier("carInfo")
public class CarInfo {
    private Integer driverId;
    private Integer carLoadNum;
    private String carPlateNum;
    private String carBrand;
    private String carType;
    private Date carProductDate;
    private String carInsuranceImg;

    public CarInfo() {
    }

    public Integer getDriverId() {
        return driverId;
    }

    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    public Integer getCarLoadNum() {
        return carLoadNum;
    }

    public void setCarLoadNum(Integer carLoadNum) {
        this.carLoadNum = carLoadNum;
    }

    public String getCarPlateNum() {
        return carPlateNum;
    }

    public void setCarPlateNum(String carPlateNum) {
        this.carPlateNum = carPlateNum;
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Date getCarProductDate() {
        return carProductDate;
    }

    public void setCarProductDate(Date carProductDate) {
        this.carProductDate = carProductDate;
    }

    public String getCarInsuranceImg() {
        return carInsuranceImg;
    }

    public void setCarInsuranceImg(String carInsuranceImg) {
        this.carInsuranceImg = carInsuranceImg;
    }

    @Override
    public String toString() {
        return "CarInfo{" +
                "driverId=" + driverId +
                ", carLoadNum=" + carLoadNum +
                ", carPlateNum='" + carPlateNum + '\'' +
                ", carBrand='" + carBrand + '\'' +
                ", carType='" + carType + '\'' +
                ", carProductDate=" + carProductDate +
                ", carInsuranceImg='" + carInsuranceImg + '\'' +
                '}';
    }
}
